import { createApp } from 'vue'
import App from './App.vue'
import instance from './utils/axios'
import store from './store/store'
// 导入router
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)

app.use(store)
app.use(router)
// import ElementUI from 'element-ui';
app.use(ElementPlus)
// 挂载到 Vue 原型
window.$axios = instance;
app.mount('#app')
